package com.cctc.rds.raft.core.client.command;

import com.cctc.rds.raft.core.node.NodeIpPort;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RaftCommandResponse {
    private boolean success;
    private NodeIpPort redirectToLeader;
}
